package spring.j2024_11_19_2.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@ConfigurationProperties(prefix = "mylist")
@Component
@Data
public class MyList {
    private List<String> l1 ;   // 有一个 l1 集合 ;
    private Map<String,String> map ;
}
